public class AgentLGModel extends OpponentModel
negotiationSession, opponentUtilitySpace| Constructor and Description |
|---|
AgentLGModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Removes references to the objects used by the opponent model.
|
double |
getBidEvaluation(Bid bid)
Determines the utility of a bid according to the preference profile.
|
java.lang.String |
getName() |
UtilitySpace |
getOpponentUtilitySpace() |
double |
getWeight(Issue issue)
Returns the weight of a particular issue in the domain.
|
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initialize the opponent model by creating an object to keep track of the values
for each issue.
|
void |
updateModel(Bid opponentBid,
double time)
Update the opponent model by updating the value score
for each issue.
|
getIssueWeights, init, isCleared, setOpponentUtilitySpace, setOpponentUtilitySpace, updateModelpublic void init(NegotiationSession negotiationSession, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
init in class OpponentModelnegotiationSession - reference to the state of the negotiationjava.lang.Exceptionpublic void updateModel(Bid opponentBid, double time)
updateModel in class OpponentModelopponentBid - time - of offeringpublic double getBidEvaluation(Bid bid)
OpponentModelgetBidEvaluation in class OpponentModelbid - of which the utility is calculated.public double getWeight(Issue issue)
OpponentModelgetWeight in class OpponentModelissue - from which the weight should be returnedpublic UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace in class OpponentModelpublic void cleanUp()
OpponentModelcleanUp in class OpponentModelpublic java.lang.String getName()
getName in class OpponentModel